 <!doctype html>
    <html>
    <head>
        <meta charset="utf-8">
        <title>Hello Sea.js</title>
        <link rel="stylesheet" href="${rc.contextPath}/resources/seajs/static/hello/src/style.css">
    </head>
<body>
<div id="container">
    <img src="https://i.alipayobjects.com/e/201211/1cqKb32QfE.png" width="44" height="44" alt="H">
    <img src="https://i.alipayobjects.com/e/201211/1cqKb2rJHI.png" width="44" height="44" alt="e">
    <img src="https://i.alipayobjects.com/e/201211/1cqKeZrUpg.png" width="44" height="44" alt="l">
    <img src="https://i.alipayobjects.com/e/201211/1cqM4u3Ejk.png" width="44" height="44" alt="l">
    <img src="https://i.alipayobjects.com/e/201211/1cqKoKV2Sa.png" width="44" height="44" alt="o">
    <img src="https://i.alipayobjects.com/e/201211/1cqKb4JU4K.png" width="44" height="44" alt=",">
    <img src="https://i.alipayobjects.com/e/201211/1cqKojFDLY.png" width="44" height="44" alt="S">
    <img src="https://i.alipayobjects.com/e/201211/1cqKb2sBO8.png" width="44" height="44" alt="e">
    <img src="https://i.alipayobjects.com/e/201211/1cqKb2LmXk.png" width="44" height="44" alt="a">
    <img src="https://i.alipayobjects.com/e/201211/1cqKb1jcWC.png" width="44" height="44" alt="J">
    <img src="https://i.alipayobjects.com/e/201211/1cqKojb72y.png" width="44" height="44" alt="S">
</div>

<script src="${rc.contextPath}/resources/seajs/sea-modules/seajs/seajs/2.2.0/sea.js"></script>
<script>

    // Set configuration
    seajs.config({
        base: "${rc.contextPath}/resources/seajs/sea-modules/",
        alias: {
            "jquery": "${rc.contextPath}/resources/seajs/sea-modules/jquery/jquery/1.10.1/jquery.js"
        }
    });

    // For development
    if (location.href.indexOf("?dev") > 0) {
        seajs.use("${rc.contextPath}/resources/seajs/static/hello/src/main");
    }
    // For production
    else {
        seajs.use("${rc.contextPath}/resources/seajs/sea-modules/examples/hello/1.0.0/main");
    }
</script>

</body>
 </html>